package com.haoze.nurseapp.dto;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @Author xuck
 * @Date 2020/3/4
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderElementDTO {

    private String id;           //数据元id

    private String name;         //数据元名称

    private String fieldName;

    private String type;                //数据元类型1:字符串2:数字3:日期类型4:数据组 5:勾选项 6单项选择 7多项选择

    private String elementType;         //数据元选项关联类型 2-关联值域，4-关联字典

    private Double maxValue;            //最大值

    private Double minValue;            //最小值

    private String unit;                //单位

    private String format;              //格式

    private String sortId;              //排序号

    private String dataValue;           //数据元选中值

    private String dataCode;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getSortId() {
        return sortId;
    }

    public void setSortId(String sortId) {
        this.sortId = sortId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(Double maxValue) {
        this.maxValue = maxValue;
    }

    public Double getMinValue() {
        return minValue;
    }

    public void setMinValue(Double minValue) {
        this.minValue = minValue;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public String getDataCode() {
        return dataCode;
    }

    public String getElementType() {
        return elementType;
    }

    public void setElementType(String elementType) {
        this.elementType = elementType;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }
}
